Total Complexity | 52 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 377 |
Lines of code | 143 |
Logical lines of code | 80 |
Comment lines | 118 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
insert_post() | 47 | 15 | 33 | |
prepare_attachment_for_js() | 52 | 7 | 21 | |
insert_attachment() | 56 | 7 | 18 | |
save_translation_post_data() | 64 | 5 | 9 | |
admin_enqueue_media_scripts() | 67 | 4 | 7 | |
update_post_translation() | 64 | 4 | 9 | |
__construct() | 58 | 2 | 14 | |
attachment_fields_to_edit() | 61 | 2 | 12 | |
attachment_post_type_metakeys() | 70 | 2 | 6 | |
ajax_query_attachments() | 76 | 1 | 4 | |
set_attachment_altfield_translatable() | 76 | 1 | 4 | |
edit_attachment() | 79 | 1 | 3 | |
save_media() | 82 | 1 | 3 |